package com.youpai.platform.vulture.common.enums;

/**
 * @time: 2022/6/29 7:52 下午
 * @author: welles
 * @description: <p>服务端指令枚举类，只有在flag为{@link MsgFlagEnum}的 [ORDINARY_MSG] 时生效</p>
 */
public enum ServerCommandEnum {

    SRV_PUSH_MSG(50, "服务端推送实时消息"),
    RE_CONNECT(51, "通知客户端重新连接"),
    KICK_OUT(52, "用户被踢下线"),
    ACK_MESSAGE(54,"应答消息"),
    ;

    public final int cmd;
    public final String desc;

    ServerCommandEnum(int cmd, String desc) {
        this.cmd = cmd;
        this.desc = desc;
    }
}
